package com.koron.car.web.authorized.mapper;

import com.koron.car.web.authorized.bean.entity.DelimitChange;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * (DelimitChange)表数据库访问层
 *
 * @author twcao
 * @since 2022-03-31 11:24:55
 */
public interface DelimitChangeMapper {

    DelimitChange queryById(@Param("id") String id);

    int insertBatch(List<DelimitChange> changes);

    int insert(DelimitChange change);

    int deleteById(@Param("changeId") String changeId);

    int deleteByApplyId(@Param("applyId") String applyId);

    List<DelimitChange> queryByApplyId(@Param("applyId") String applyId, @Param("type") String type);
}

